<?php 

// Create connection
$connection = new mysqli(SERVER, USERNAME, PASSWORD);

// Check connection
if ($connection->connect_error) {
    die("Connection failed: " . $connection->connect_error);
}

mysqli_query ($connection, "SET NAMES 'utf8'");

?>
